package cn.csc.module.pay.controller.app.jzb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.math.BigInteger;

/**
 * Created by yequnli on 2023/5/8.
 */
@ApiModel("会员子账户开立 Request VO")
@Data
@ToString(callSuper = true)
public class AutonymOpenCustAcctIdReqVO {

    @ApiModelProperty(value = "交易网会员代码=用户id")
    @NotNull(message = "用户id不能为空")
    private String appUserId;
    @NotNull(message = "商户编号不能为空")
    @ApiModelProperty(value = "商户编号")
    private BigInteger merchantId;

    @ApiModelProperty(value = "客户真实姓名")
    private String memberName;

    @ApiModelProperty(value = "会员证件类型")
    private Integer memberGlobalType;

    @ApiModelProperty(value = "会员证件号码")
    private String memberGlobalId;

    @ApiModelProperty(value = "手机号码")
    private String mobile;

    @ApiModelProperty(value = "会员属性: SH-商户子账户(默认) 00-普通子账户")
    private String memberProperty;

    @ApiModelProperty(value = "邮箱")
    private String email;

    //个体户字段
    @ApiModelProperty(value = "个体工商户标志,1：是 2：否(个人必输)")
    private Integer indivBusinessFlag;
    @ApiModelProperty(value = "公司名称,个体工商户必输")
    private String companyName;

    @ApiModelProperty(value = "公司证件类型,个体工商户必输")
    private String companyGlobalType;

    @ApiModelProperty(value = "公司证件号码,个体工商户必输")
    private String companyGlobalId;

    @ApiModelProperty(value = "店铺id,个体工商户必输")
    private String shopId;

    @ApiModelProperty(value = "店铺名称,个体工商户必输")
    private String shopName;

    @ApiModelProperty(value = "法人标志,1-是 ,个体工商户必输")
    private Integer repFlag;

    @ApiModelProperty(value = "法人名称,个体工商户必输")
    private String reprName;

    @ApiModelProperty(value = "法人证件类型,个体工商户必输")
    private String reprGlobalType;

    @ApiModelProperty(value = "法人证件号码,个体工商户必输")
    private String reprGlobalId;

    @ApiModelProperty(value = "租户编号")
    private String tenantId;


}
